package com.epalmpay.service.weixin;

import com.epalmpay.entity.ReservationRule;
import com.epalmpay.entity.Response;

/**
 * Created by Administrator on 2018/6/5.
 */

public interface IReservationRuleService {


    /**
     * 检查指定门店是否存在预约规则
     * @param groupId
     * @param shopId
     * @return
     * @throws Exception
     */
    public Response checkShopReservation(Long groupId,Long shopId)throws Exception;

    /**
     * 判断要预约的时间段是否约满
     * @param groupId
     * @param shopId
     * @param memberId
     * @param reservationRuleId
     * @param personCount
     * @param reservationyyyyMMdd
     * @param reservationHHmm
     * @param message
     * @param reservationType
     * @param timeRuleId
     * @return
     * @throws Exception
     */
    public Response checkReservationTimeCanOrNot(Long groupId, Long shopId,Long memberId, Long reservationRuleId, Integer personCount, String reservationyyyyMMdd, String reservationHHmm, String message,Integer reservationType,Long timeRuleId)throws Exception;

}
